package com.sunwayhorizo.health.business.registries.person.query;

import javax.ejb.Local;

import com.sunwayhorizo.health.hl7.common.Hl7Exception;
import com.sunwayhorizo.health.hl7.rim.Person;


@Local
public interface PersonQueryLocal
{

    /**
     * 根据name，生日查询出一个person
     * @param name 姓名
     * @param sex 性别字典conceptCode值
     * @param birthdate  字符串出生日期
     * @return Person
     * @throws Hl7Exception
     */
    public Person findSamePerson(String personName, String sex, String birthDate) throws Hl7Exception;

}
